package com.mueeee.webspringboot3.conf;

import com.mueeee.webspringboot3.WebSpringboot3App;
import com.mueeee.webspringboot3.utils.SpringUtil;
import org.springframework.stereotype.Component;

/**
 * @author chenghui
 * @date 2023/5/13 15:37
 */
@Component
public class ApplicationService {

    public void restart(SpringUtil springUtil) {
        WebSpringboot3App.restart(springUtil);
    }

    public void stop() {
        WebSpringboot3App.stop();
    }
}
